﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GameMath;

namespace Models
{
    public abstract class GameObject
    {
        public GameObject(GamePointF position, Size size)
        {
            Position = position;
            Size = size;

            ImageLayers = new LayerHandler();
            Image = new Bitmap(Size.Width, Size.Height);
        }

        public GamePointF Position { get; set; }
        public Size Size { get; set; }
        public LayerHandler ImageLayers { get; private set; }
        public Image Image {get; protected set;}

        public abstract void Update(GameTimer timer);
    }
}
